package com.aiden.cashbook.bill

import com.aiden.cashbook.base.BasePresenter
import com.aiden.cashbook.base.BaseView
import com.aiden.cashbook.bean.Bill

object BillContract {

    interface Presenter: BasePresenter<View> {

        fun billList(userId: Long, page: Int, size: Int)
    }

    interface View: BaseView<Presenter> {

        fun loadSuccess(bills: List<Bill>)

        fun loadFailure()
    }
}